2017-01-11 - 11550 - Break Fix - Trigger ZCHR PO Output Regardless of Inbound Delivery #ProductionBreakFix #chr
2017-01-11 - 11550 - Break Fix - Trigger ZCHR Output though Inb delivery is created
Problem Summary
Trigger ZCHR output though Inbound Delivery is created for CHR POs
Admin Info
Purpose
|
Trigger ZCHR output regardless of Inbound Delivery
|
Requested by
|
Jingsha
|
Issue Date
|
01-11-2017
|
Resolved by
|
Damodhier, Adithya
|
Resolved Date
|
01-12-2017
|
Document Status
|
Complete
|
Detailed Problem Description
(Include Screen Shots if required )
When Inbound Deliveries are created for a CHR Purchase Orders, Change ZCHR PO outputs are not triggered.
This change is to trigger the ZCHR PO output when there are any PO changes regardless of Inbound Delivery.
On 01/27/2017: It is reported that when ever there is a change in the delivery completion indicator ZCHR output is triggered.
Received the email with the list of PO changes for which ZCHR output has to be triggered.
On 02/14/2016: Change the IDOC status to fail so that the IDOC is not successful, when the change in the PO is relevant to Delivery completion Indicator.
Solution Analysis and Recommendations
(Include Screen Shots if required)
This condition has to be commented and it shall allow ZCHR output to be triggered when ever there are any changes in the purchase order after Inbound Delivery is created.
Test Scenarios
Test ID
|
Test Scenario
|
Expected Results
|
CHRINB01
|
Change a CHR Purchase Order, having Inbound Delivery created for the PO
|
ZCHR PO Output shall be triggered
|
CHRINB02
|
Change a CHR Purchase Order, before Inbound Delivery is created
|
ZCHR PO Output shall be triggered
|
CHRINB03
|
Change a SNC PO before and after the Inbound Delivery is created.
|
ZSNC PO Output shall be triggered
|
For 01/27/2017: Reversed the changes code in D300 and checked flagging the delivery completion indicator in PO 4600011275 and saw that ZCHR output is triggered.
So the changes which have been made did not cause the ZCHR output to trigger when there is change in the delivery completion indicator.
Received the email with the list of PO changes for which ZCHR output has to be triggered.
PO Changes
|
ZCHR Shall be Triggered ?
|
ZCHR triggred ?
|
Qty Change
|
Yes
|
|
Line item delete
|
Yes
|
|
Undelete
|
Yes
|
|
Purch group
|
Yes
|
|
Header text
|
No
|
|
Address
|
Yes
|
|
Partners
|
Yes
|
|
Net price
|
Yes
|
|
Storage location
|
Yes
|
|
Delivery Date
|
Yes
|
|
Ex Factory date
|
Yes
|
|
Weights
|
Yes
|
|
Shipping Instr
|
Yes
|
|
Incoterms
|
Yes
|
|
Overdeliv/Underdel. Tol
|
Yes
|
|
Condition Types
|
Yes
|
|
Item txt
|
No
|
|
Delivery address
|
Yes
|
|
Confirmation key Change
|
No
|
|
Confirmation updation
|
No
|
|
Ship to party
|
Yes
|
|
So delivery Date
|
No
|
|
Grid value added
|
Yes
|
|
Delivery Completed Indicator
|
No
|
|
If there is a change in the PO for which ZCHR output has to be generated - ZCHR o/p has to be generated.
If there is a change in the PO fior which ZCHR output shall not be generaed - ZCHR o/p shall not be generated.
If there is a change in the PO for which ZCHR has to be generated and there is another change for which there shall be no ZCHR o/p to be triggered - ZCHR o/p has to be generated.
CHR-Output.xlsx
Understand When checking in NED 300 that ZCHR output is triggered in PO when there is change in,
- Header Text.
- Item Text.
- Confirmation Key Change.
- Delivery completion indicator.
Also if there is a change in the PO ZCHR o/p is failing
- Overdelivery/Underdelivery. Tol
- Condition Types
On 02/15/2016: After Analyzing the IDOC Routines understand that it is not possible to stop the output generated, but the IDOC which is triggered when the output is processed can be failed forcefully.
Understand that IDOC status can set to fail when the delivery completion Indicator is changed/updated only for the first time in the PO, but it is not possible to change the status of IDOC to fail when the field is changed/updated next time and so on.
On 02/17/2016:
Further to our analysis we are able to make IDOC fail for every time the delivery completion indicator field is updated/changed.
If there is a change/update in delivery completion indicator and if there is any other change in the PO simultaneously then we would be able to make IDOC fail.
If there is only any other change in the PO then the IDOC will be successful.
Resolution
Comment the additional check in the below routine to trigger ZCHR output even after Inbound Delivery creation
Change the code so that the when ever there is a change only to the below fields of the PO then do not generate the ZCHR output.
- Header Text.
- Item Text.
- Confirmation Key Change.
- Delivery completion indicator.
When there is a change in below feilds then ZCHR o/p shall be triggered
- Overdeliv/Underdel. Tol
- Condition Types
Release Information
Provide link here to Release Notes if Technical Objects were changed
Changes Description
|
Change for which ZCHR shall trigger
|
Qty Change
|
Yes
|
Line item delete
|
Yes
|
Undelete
|
Yes
|
Purch group
|
Yes
|
Header text
|
No
|
Address
|
Yes
|
Partners
|
Yes
|
Net price
|
Yes
|
Storage location
|
Yes
|
Delivery Date
|
Yes
|
Ex Factory date
|
Yes
|
Weights
|
Yes
|
Shipping Instr
|
Yes
|
Incoterms
|
Yes
|
Overdeliv/Underdel. Tol
|
Yes
|
Condition Types
|
Yes
|
Item txt
|
No
|
Delivery address
|
Yes
|
Confirmation key Change
|
No
|
Confirmation updation
|
No
|
Ship to party
|
Yes
|
So delivery Date
|
No
|
Grid value added
|
Yes
|
Delivery Completed Indicator
|
No
|
8:46